package com.xgq.drink.service;

import com.xgq.drink.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface ICartService extends IService<Cart> {
    boolean addCartItem(Cart cart);
    boolean deleteCartItem(Long cartId);
    boolean updateCartItem(Cart cart);
    IPage<Cart> getCartItems(Long userId, int page, int size);
}